/* Common
-----------------------------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	height: 100%;
}

a {
	color: blue;
	outline: none;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

p {
	margin: 0 0 18px
}

img {
	border: none;
}

td {
	padding: 5px;
}

textarea {
	resize: none;
}

table {
	margin : 10px;
	border: 3px #000000 solid;
	background-color: #FFFFFF;
	font-size: 15px;
	position: relative;
	box-shadow: 6px 6px 6px 2px gray;
}

input {
	vertical-align: middle;
	background-color: #F0F0F0;
	margin: 2px 2px 20px 2px;
	border: 1px solid #A0A0A0;
	border-radius: 4px;
}

.submit {
	padding: 3px;
	border: 1px solid #A0A0A0;
    border-radius: 4px 4px 4px 4px;
}

.in:focus {
	background-color: #FFFFCC;
	border: 1px solid #3300FF;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 100px;
	background: #FFE680;
}

/* Middle
-----------------------------------------------------------------------------*/
#content {
	padding: 0px 0px 80px 0px;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	margin: -80px auto 0;
	min-width: 800px;
	max-width: 1900px;
	height: 80px;
	background: #BFF08E;
	position: relative;
}


/* Modal window - contact to admin
----------------------------------------------*/

#contact{
	left:50%;
	font-size: 13px;
	position: relative;
	width: 185px;
	margin-left:-92px;
	padding: 5px 10px 0px;
}

.modal_bg {
    position:absolute;
    display:none;
    z-index:1000;
    left:0;
    top:0;
    background-color:#A8A8A8;
}

.modal_window{
	display:none;
    position:absolute;
	z-index:1100;
	left: 50%;
	width: 450px;
	heigth: 870px;
	background:#ffffff;
	padding-top: 0px;
	background-color: #FFFACD;
	margin-left: -225px;
	border: 1px solid #A0A0A0;
    border-radius: 10px 10px 10px 10px;
}

.modal_window #close{
	margin-left: 450px; 
}

.modal_window img{
	margin:0px;
	padding:0px;
}

.modal_window h2{
	text-align: center;
}

.modal_window form{
    padding:5px 20px;
}

.modal_window #question_header{
    margin-top: 0px;
	margin-bottom: 8px;
	height: 10%;
	background-color: #8B8B00;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
	border-width:0.3%;
}

.modal_window label{
    margin-top: 8px;
    display: block;
    font-size: 0.9em;
    font-weight: bold;
    color: Gray;
}

/* Client's list of cards
----------------------------------------------*/

.list_cards #invisible_block {
	display : none;
	border: 3px #c33 solid;
	border-radius: 10px;
	box-shadow: 6px 6px 6px 2px gray;
	background-color: #FFFFFF;
	margin-top: 20px;
	width: 250px;
	padding-top: 20px;
}

.list_cards .card_id {
	color: #6699FF;
}

.list_cards .card_id:hover {
	text-decoration: underline;
	color: #00CCFF;
	cursor: pointer;
}

.list_cards #active_card {
	color: #6600FF;
	font-style: italic;
	font-size: 140%;
}

/* Error page
----------------------------------------------*/
.error_page #error_main_message {
	color: #000000;
	font-size: 25px;
	font-weight: bold;
	padding: 10px;
}

.error_page #error_detail_message {
	color: #000000;
	font-size: 20px;
	font-weight: bold;
	padding: 10px;
}

/* Settings page
-----------------------------------------------------------------------------*/
.settings #form_settings {
	border: 3px #c33 solid;
	border-radius: 10px;
	box-shadow: 6px 6px 6px 2px gray;
	vertical-align: middle;
	width: 270px;
	margin-top: 20px;
	padding: 10px;
	position: relative;
	background-color: #FFFFFF;
}

/* Settings page
-----------------------------------------------------------------------------*/
#form_login {
	border: 3px #c33 solid;
	border-radius: 10px;
	box-shadow: 6px 6px 6px 2px gray;
	vertical-align: middle;
	width: 200px;
	height: 170px;
	padding: 0px 0px 0px 35px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -100px;
	margin-top: -85px;
	background-color: #FFFFFF;
}

/* Special ID
-----------------------------------------------------------------------------*/
#wrapper {
	min-width: 800px;
	max-width: 1900px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	background-image: url("../img/background.gif");
}


#footerCopyright {
	font-size: 13px;
	position: relative;
	width: 435px;
	margin: auto;
	padding: 20px;
}

#left_header {
	font-size: 13px;
	position: relative;
	width: 190px;
	float: right;
	padding: 40px 20px 0px;
}

#right_header {
	font-size: 13px;
	position: relative;
	width: 180px;
	padding: 40px 20px 0px;
}